#include <hidef.h>      /* common defines and macros */
#include "derivative.h"      /* derivative-specific definitions */
/** Variable types and common definitions */
#include     "typedefs.h"
#include "Mcu.h"
#include "Gpt.h"
#include "SchM.h"
/** Dynamic Memory allocation services */
#include "memory_allocation.h"




void main(void) 
{
  
  /* put your own code here */
  
  
  DDRA = 0x0F;  /* Set Debug port as output */
  DDRB = 0x0F;  /* Set Debug port as output */

  /* Dynamic Memory Allocation initialization */
  vfnMemAlloc_NearInit(&NearMemAlloc_config[0]);
  vfnMemAlloc_Init(&DynamicMemAlloc_config[0]);

  EnableInterrupts;


  SchM_Init(&services_os_task); 
  SchM_Start();
  /* please make sure that you never leave main */
}
  

